package com.yuerlive.rainbow.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class Banner implements Serializable {
    private String img; //图片
    private int id;
    private int type; //类型：1直播 2视频 3url
    private String target; //目标对象的ID或者url地址
    private String title; //标题
    @SerializedName("chat_room_id")
    private String chatRoomId;

    @SerializedName("live_id")
    private String liveId;

    @SerializedName("live_icon")
    private String liveIcon;
    private int state;
    private String userId;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getChatRoomId() {
        return chatRoomId;
    }

    public void setChatRoomId(String chatRoomId) {
        this.chatRoomId = chatRoomId;
    }

    public String getLiveId() {
        return liveId;
    }

    public void setLiveId(String liveId) {
        this.liveId = liveId;
    }

    public String getLiveIcon() {
        return liveIcon;
    }

    public void setLiveIcon(String liveIcon) {
        this.liveIcon = liveIcon;
    }

    private static final long serialVersionUID = 1;
    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    @Override
    public String toString() {
        return "Banner{" +
                "img='" + img + '\'' +
                ", id=" + id +
                ", type=" + type +
                ", target='" + target + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
